﻿<sdk:ChildWindow	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
                    x:Class="ComicTool.ErrorDialog"
                    xmlns:dark="clr-namespace:System.Windows.Controls.Theming;assembly=System.Windows.Controls.Theming.ExpressionDark"
                    Title="Oops!"
                    Style="{StaticResource cw}"
                    Width="400"
                    Height="300">
    <dark:ExpressionDarkTheme>
        <Grid x:Name="LayoutRoot">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Button x:Name="OKButton"
                    Content="OK"
                    Click="OKButton_Click"
                    Width="75"
                    Height="23"
                    Margin="5"
                    HorizontalAlignment="Center"
                    Grid.Row="1" />
            <TextBox x:Name="text"
                     TextWrapping="Wrap"
                     VerticalScrollBarVisibility="Auto"
                     HorizontalScrollBarVisibility="Auto"
                     IsReadOnly="True" />
        </Grid>
    </dark:ExpressionDarkTheme>
</sdk:ChildWindow>